DrawListBox(GcGraphics,RectangleF,IList<ChoiceFieldItem>,Int32[],Int32,TextFormat,Color,Border,Boolean) Method
In This Topic
Draws a list box.
Syntax
'Declaration
Public Overloads Shared Sub DrawListBox( _
ByVal As GcGraphics, _
ByVal As System.Drawing.RectangleF, _
ByVal As System.Collections.Generic.IList(Of ChoiceFieldItem), _
ByVal () As System.Integer, _
ByVal As System.Integer, _
ByVal As TextFormat, _
ByVal As System.Drawing.Color, _
ByVal As Border, _
ByVal As System.Boolean _
)
public static void DrawListBox(
GcGraphics ,
System.Drawing.RectangleF ,
System.Collections.Generic.IList<ChoiceFieldItem> ,
System.int[] ,
System.int ,
TextFormat ,
System.Drawing.Color ,
Border ,
System.bool
)
Parameters
- g
- The graphics to draw on.
- bounds
- The control bounds.
- items
- The control items.
- si
- The list of selected indexes.
- topIndex
- The index of the top visible item.
- textFormat
- The text format to use.
- backColor
- The background color.
- border
- The border definition.
- required
- Indicates whether to draw the border in red, ignoring the color specified in .
See Also